class nfs::server inherits nfs::base {
  
  package {"nfs-kernel-server":
    ensure => present,
  }
  
  exec {"reload_nfs_srv":
    path => "/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin",
    command     => "/etc/init.d/nfs-kernel-server reload",
    refreshonly => true,
    require => Package["nfs-kernel-server"]
  }

  service {"nfs-kernel-server":
    enable      => "true",
    pattern     => "nfsd"
  }
}
